OS CD OR FLOPPY BOOT TUTORIAL
-----------------------------
Get FASM and then install it to your computer:
FREE PROGRAM
http://flatassembler.net

Take my two files
BootUp.asm   Your boot file
mycode.asm   Your target file

You compile the code with FASM to make two bin files.

From there you get a copy of the virtual Floppy drive from here :

FREE PROGRAM
http://chitchat.at.infoseek.co.jp/vmware/vfd.html

You would then use the floppy to create a RAM Floppy drive.

Then with Partcopy you would use the following commands :

partcopy BootUp.bin 0 200 -f0 0       This tells partcopy to take the 512 Byte file and put it at the first byte of Drive A ( the floppy drive which is F0 )

partcopy mycode.bin 0 FFFF -f0 200    This tells partcopy to take the 65535 Byte byte file and start to write it at the 513th byte on the destination drive. The 200 in hex code is 512. BUT the reason its the 513the byte is because 0 is actually the first HEX code number. So you have to add that 1 number.

Save the file as test.img with the Virtual Floppy drive.

You can then use a virtual machine to boot the floppy.

FREE PROGRAM
http://www.virtualbox.org

IF you want to have your code put on CD, then get a program named PowerISO.

NOT A FREE PROGRAM
http://www.poweriso.com

It can take your test.img ( Floppy image ) and in PowerISO use it as the bootcode by choosing ACTION -->> BOOT -->> ADD BOOT INFORMATION

You do not need to add anything else to the ISO, Just save the extension as ISO.

Then in your virtual Machine, boot it up with the "CD" ISO image. Your all set.

John Mieske - A.K.A. JaneQuorzar